package cn.toolck.service.impl;

import cn.toolck.service.ServiceA;
import org.apache.dubbo.config.annotation.Service;

@Service
public class ServiceAImpl implements ServiceA {
    @Override
    public String callA(String name) {
        sleep(100);
        String result = "callA:" + name;
        System.out.println(result);
        return result;
    }

    @Override
    public String callA2(String name) {
        sleep(100);
        String result = "callA2:" + name;
        System.out.println(result);
        return result;
    }

    @Override
    public String callA3(String name) {
        sleep(100);
        String result = "callA3:" + name;
        System.out.println(result);
        return result;
    }
}
